
#include <cgic.h>

int cgiMain() {
    cgiHeaderContentType("text/html");
	// 给浏览器响应回一个简单的html网页
	fprintf(cgiOut, "<HTML><HEAD> <meta charset=\"UTF-8\"> \n");
	fprintf(cgiOut, "<TITLE>cgic测试</TITLE></HEAD>\n");
	fprintf(cgiOut, "<BODY><H1>操作成功!!!</H1>\n");
    fprintf(cgiOut,"</BODY></HTML>");
    return 0;
}